ul{
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: space-between;
}
ul>li{
    width: 300px;
    text-align: center;
    line-height: 50px;
    height: 50px;
    color: #000;
}
*{
    margin: 0;
    padding: 0;
}
.active{
    background-color: red;
    color: #fff;
}
.navbar{
    display: flex;
    justify-content: space-between;
}